<extend name="Index/index" />

<block name="main">
<div id="tou">
    <li>
        <i class="icon-home home-icon"></i>
        <a href="<{:U('Index/index')}>">首页</a>
    </li>
    <li>》</li>
    <li class="active">权限修改</li>
</div>
<br>
	
	<div class="row">
		<div class="col-md-12">
			<form action="<{:U('Node/save')}>" method='post' class="form-horizontal">

				<div class="form-group" style="">
					<label for="" class="col-sm-2 control-label">节点名：</label>
					<div class="col-sm-4">
						<input type="text" name="name" class="form-control" value="<{$vo.name}>">
					</div>
				</div>
				<div class="form-group">
					<label for="" class="col-sm-2 control-label">控制器：</label>
					<div class="col-sm-4">
						<input  type="text" name="mname" class="form-control" value="<{$vo.mname}>">
					</div>
				</div>
				<div class="form-group">
					<label for="" class="col-sm-2 control-label">操作：</label>
					<div class="col-sm-4">
						<input  type="text" name="aname" class="form-control" value="<{$vo.aname}>">
					</div>
				</div>
				
				<div class="form-group">
					<div class="col-sm-4 col-sm-offset-2">
						<input type="radio" name="status" value="1" <if condition="$vo.status eq 1">checked</if>>启用
						<input type="radio" name="status" value="0" <if condition="$vo.status eq 0">checked</if>>禁用
					</div>
				</div>
				<div class="form-group">
				    <div class="col-sm-offset-2 col-sm-4">
				    <input type="hidden" name="id" value="<{$vo.id}>">
				      <button type="submit" class="btn btn-default">修 改</button>
				    </div>
				</div>
		
			</form>
		</div>
	</div>
		
		
</block>

